package com.baidu.process;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@MapperScan({"com.baidu.process.chat.core.web.mapper","com.baidu.process.record.mapper","com.baidu.process.config.mapper"})
@SpringBootApplication
@EnableScheduling
@EnableAsync
public class AdapterApplication {

    private static final Logger logger= LoggerFactory.getLogger(AdapterApplication.class);

    public static void main(String[] args) {

        SpringApplication.run(AdapterApplication.class, args);
        logger.info("root my springboot is OK");
    }

}
